/**
 * Created by chen on 18/5/31.
 */

var mongoose = require('mongoose');
var Schema = mongoose.Schema;
//创建Schema
var cartSchema = new Schema({
  barcode:String,
  name:String,
  unit:String,
  price:Number,
  type:String,
  count: Number,
  subtotal: String
});
module.exports = cartSchema;